package com.seeyon.apps.kk.controller;

import java.util.Date;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;

import com.seeyon.apps.kk.manager.caigoudatasync.CAbstractDataSyncManager;

public class KkInfoController extends KkBaseController{
		private CAbstractDataSyncManager kkCaigouDataSync;

		public CAbstractDataSyncManager getKkCaigouDataSync() {
			return kkCaigouDataSync;
		}

		public void setKkCaigouDataSync(CAbstractDataSyncManager kkCaigouDataSync) {
			this.kkCaigouDataSync = kkCaigouDataSync;
		}
		
		//SeepAndAriba数据整合
		  public ModelAndView loadCaigou(HttpServletRequest request, HttpServletResponse response) throws Exception {
			  this.kkCaigouDataSync.startf();
			return this.ajaxDoneSuccess("同步结束================"+new Date());
		  }
}
